// 底部tabbar的选项类型，定义接口限制
export interface MyBarItem {
    id: number,
    to: string,
    icon: string,
    title?: string
}
//轮播图每一项的接口
export interface MyBannerItem {
    alt?: string,
    readonly bannerid: string,
    flag?: boolean,
    img: string
}

//秒杀商品每一项接口
type MyIsSale = 0 | 1
export interface MyHotItem {
    readonly proid: string,
    img1: string,
    sales: string,
    proname: string,
    brand: string,
    category: string,
    issale: MyIsSale,
    originprice: number,
    discount: number
}

//热门搜索接口
export interface MyHotSearchItem {
    readonly wordid: string,
    num: string,
    keyword?: string
}

//分类商品自定义数组接口
export interface MycategoryBrandGoodsItem {
    cate: string,
    brand: string,
    list: []
}